///////////////////////////////////////////////////////////
//  InsertItemCommand.h
//  Implementation of the Class InsertItemCommand
//  Created on:      21-Sep-2013 12:10:02 PM
//  Original author: Jakkaphan Aiemcharoenjit
///////////////////////////////////////////////////////////

#if !defined(EA_A6974C1B_69F4_4a42_9818_DF3F103E2291__INCLUDED_)
#define EA_A6974C1B_69F4_4a42_9818_DF3F103E2291__INCLUDED_

#include "ICommand.h"
#include "CCreateTemplateView.h"
#include "CCreateItemView.h"

namespace UI
{
  namespace CMD
  {
    class InsertItemCommand : public ICommand
    {

    public:
      InsertItemCommand(CCreateItemView* createItem, CCreateTemplateView* createTemplate);
      virtual ~InsertItemCommand();
      virtual void Execute();
      virtual ICommand::CommandType GetType();

    private:
      ICommand::CommandType m_type;
      CCreateTemplateView* m_createTemplateView;
      CCreateItemView* m_createItemView;

    };

  }
}

#endif // !defined(EA_A6974C1B_69F4_4a42_9818_DF3F103E2291__INCLUDED_)
